package com.zkthink.ceres.store.dao;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zkthink.base.mapper.SuperMapper;
import com.zkthink.ceres.store.entity.StoreJoin;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
/**
 * <p>
 * Mapper 接口
 * 
 * </p>
 *
 * @author chenke
 * @date 2022-04-22
 */
@Repository
public interface StoreJoinMapper extends SuperMapper<StoreJoin> {
    /**
     * 根据会员ID查询申请表
     * @param mid
     * @return
     */
    StoreJoin selectByMid(Long mid);
    StoreJoin selectOneByMid(Long mid);


    IPage<StoreJoin> IPagelist(IPage page,@Param("model") StoreJoin model);
    int deleteByMid(Long mid);


}
